package equations;

import java.util.ArrayList;



public class FractionToDecimalStub implements MathFactsCategory {
	
	private ArrayList<Problem> problems1x;
	private ArrayList<Problem> problems2x;
	private ArrayList<Problem> problems3x;
	private ArrayList<Problem> problems4x;
	private ArrayList<Problem> problems5x;
	private ArrayList<Problem> problems6x;
	private ArrayList<Problem> problems7x;
	private ArrayList<Problem> problems8x;
	private ArrayList<Problem> problems9x;
	
	public FractionToDecimalStub(){
		//1x equations
		problems1x=new ArrayList<Problem>();
		problems1x.add(new Problem(" 3/10 = 0.","3"));
		problems1x.add(new Problem(" 3/20 = 0.","15"));
		
		
		//2x equations
		problems2x = new ArrayList<Problem>();
		problems2x.add(new Problem("   3/8 = 0.","375"));
		problems2x.add(new Problem("   3/5 = 0.","6"));
		
		
		//3x equations
		problems3x = new ArrayList<Problem>();
		problems3x.add(new Problem("   1/8 = 0.","125"));
		problems3x.add(new Problem("   4/5 = 0.","15"));
		problems3x.add(new Problem("   1/5 = 0.", "2"));
		
		//4x equations
		problems4x = new ArrayList<Problem>();
		problems4x.add(new Problem(" 1/20 = 0.", "05"));
		problems4x.add(new Problem(" 9/20 = 0.", "45"));
		problems4x.add(new Problem("19/20 = 0.", "95"));
		
		//5x equations
		problems5x = new ArrayList<Problem>();
		problems5x.add(new Problem(" 7/10 = 0.", "7"));
		problems5x.add(new Problem("   7/8 = 0.", "875"));
		problems5x.add(new Problem("11/20 = 0.", "55"));
		
		//6x equations
		problems6x = new ArrayList<Problem>();
		problems6x.add(new Problem("17/20 = 0.", "85"));
		problems6x.add(new Problem("   5/8 = 0.", "625"));
		problems6x.add(new Problem(" 1/10 = 0.", "1"));
	
		//7x equations
		problems7x = new ArrayList<Problem>();
		problems7x.add(new Problem(" 9/10 = 0.", "9"));
		problems7x.add(new Problem("   3/4 = 0.", "75"));
		problems7x.add(new Problem("   2/5 = 0.", "4"));
		
		
		//8x equations
		problems8x = new ArrayList<Problem>();
		problems8x.add(new Problem("   1/4 = 0.", "25"));
		problems8x.add(new Problem(" 7/20 = 0.", "35"));
		problems8x.add(new Problem("13/20 = 0.", "65"));
	
		
		//9x equations
		problems9x = new ArrayList<Problem>();
		problems9x.add(new Problem(" 9/2 = ", "4.5"));
		problems9x.add(new Problem(" 37/20 = ", "1.85"));
		problems9x.add(new Problem(" 21/8 = ", "2.625"));
		problems9x.add(new Problem(" 11/5 = ", "2.2"));
		problems9x.add(new Problem(" 8/5 = ", "1.6"));
		problems9x.add(new Problem(" 15/4 = ", "3.75"));
	}

	@Override
	public ArrayList<Problem> getProblem1() {
		return problems1x;
	}

	@Override
	public ArrayList<Problem> getProblem2() {
		return problems2x;
	}

	@Override
	public ArrayList<Problem> getProblem3() {
		return problems3x;
	}

	@Override
	public ArrayList<Problem> getProblem4() {
		return problems4x;
	}

	@Override
	public ArrayList<Problem> getProblem5() {
		return problems5x;
	}

	@Override
	public ArrayList<Problem> getProblem6() {
		return problems6x;
	}

	@Override
	public ArrayList<Problem> getProblem7() {
		return problems7x;
	}

	@Override
	public ArrayList<Problem> getProblem8() {
		return problems8x;
	}

	@Override
	public ArrayList<Problem> getProblem9() {
		return problems9x;
	}
	
	
	@Override
	public String toString(){
		return "Fractions to Decimals";
	}
	

}
